package pers.course.exam;

import java.util.Scanner;

public class StringTask {
    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        String originalString = in.nextLine().toLowerCase();
        char[] str = originalString.toCharArray();
        char[] result = new char[100];
        int i = 0;
        int sum = 0;
        for (char ch : str) {
            if (ch != 'a' && ch != 'e' && ch != 'i' && ch != 'o' && ch != 'u' && ch != 'y') {
                result[i++] = ch;
                sum++;
            }
        }
        for (int j = 0; j < sum; j++) {
            System.out.print(".");
            System.out.print(result[j]);
        }
        System.out.println();
    }
}
